package com.bike.modules.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value="bike_order_comment")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderCommentDTO implements Serializable {
    @ApiModelProperty(value="")
    private Integer id;

    @ApiModelProperty(value="")
    private Long orderNo;

    @ApiModelProperty(value="")
    private Integer userId;

    @ApiModelProperty(value="")
    private String content;

    @ApiModelProperty(value="")
    private String images;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createTime;

    /**
     * 商家回复内容
     */
    @ApiModelProperty(value="商家回复内容")
    private String reply;

    private String username;

    private Integer orderId;
}